module.exports = {
    devServer: {
        port: '3000',
        disableHostCheck: true,
        open: true,
        // proxy: {
        //     '/api': {
        //         target: 'http://122.114.35.47:8214/',  // target host
        //         // target: 'http://192.168.199.239:8214/',
        //         changeOrigin: true,  // needed for virtual hosted sites
        //     },
        // }
        // proxy: 'http://122.114.35.47:8214',
        https: false,
        proxy: { //配置自动启动浏览器
			"/api": {
                // target: "http://122.114.35.47:8214",
                target: 'http://192.168.199.239:8214/',
				changeOrigin: true,
				ws: true,
				secure: false
			},
		}
    }
};